const person1 = {
  name: "Yunmu1",
  getName: function () {
    return this.name;
  },
};

const person2 = {
  name: "Yunmu2",
  getName() {
    return this.name;
  },
};

const person3 = {
  name: "Yunmu3",
};
person3.getName = function () {
  return this.name;
};

const person4 = {
  name: "Yunmu4",
  getName: function getNameMethod() {
    return this.name;
  },
};

console.log("person1.getName.name:", person1.getName.name); // person1.getName.name: getName
console.log("person2.getName.name:", person2.getName.name); // person2.getName.name: getName
console.log("person3.getName.name:", person3.getName.name); // person3.getName.name:
console.log("person4.getName.name:", person4.getName.name); // person4.getName.name: getNameMethod
